{% extends "main.html" %}

{% block title %}{{keyword}} 第{{page.now}}页 - {% endblock %}
{% block keyword %}{{keyword}}{% endblock %}
{% block container %}
<div class="container-fluid">
      <div class="row">
		  <div id="waterfall">
				{% for item in data %}
					<div class="item">
						<a class="movie-box" href="/movie/{{ item.linkid }}">
							<div class="photo-frame">
								<img src="{{ cdn }}/digital/video{{ item.smallimage }}" title="标签:{{ item.genre }}
演员:{{ item.stars }}">
							</div>
							<div class="photo-info">
								{% if item.have_sub %}
									{% if item.have_sub >0 %}
									<span class="sub_title">字幕</span>
									{% endif %}
								{% endif %}
								{% if item.have_hd %}
									{% if item.have_hd >0 %}
									<span class="sub_hd">高清</span>
									{% endif %}
								{% endif %}
								<span>{{ item.title }}
									<br>
									<date>{{ item.av_id }}</date> /
									<date>{{ item.release_date }}</date>
								</span>
							</div>
						</a>
					</div>
				{% endfor %}
			</div>
		  </div>
</div>
{% endblock %}